package com.honglang.common.tools;

import java.util.Arrays;
import java.util.List;

public class Constants {
	public static String USERNAME_KEY="UserName";
	public static String USER_KEY = "User";
	public static String Article_Title = "articleTitle";
	public static String Article_KeyWords = "articleKeyWord";
	public static String Article_Source = "articleSource";
	public static String Article_Category_ID = "articleCategoryId";
	public static String Article_Content = "articleContent";
	public static String Article_ArticlePreView = "articlePreView";
	public static String Article_DisplayReadMore = "displayReadMore";
	public static String Article_CommentOpen = "commentOpen";
	
	public static String PASSWORD = "password";
	
	public static String BLOG_ARTICLE_ID = "comment_post_ID";
	
	public static String Comment_Content = "comment";
	
	public static String BE_COMMENTED_ID = "comment_parent";
	
	public static String KeyWord_Split = ",";
		
	public static String blogArticle_Split="_";
	
	
	public static String Album_Split="_";
	// article pageSize
    public static int pageSize=10;
    
    //blogArticle comment pageSize;
    public static int pageCommentSize = 10;
    
    
    public static int pageNo=0;
    
    public static int Words=150;
    
    public static String Role = "role";
    
    //
    public static int Administrator = 1;
    
    //article pageIndex Number;
    public static int pageIndexCountPerPage = 9;
    
    // comment pageIndex Number
    public static int pageIndexCountPerPageInComment = 9;
    
    public static int DEFAULT_PAGE_NO = 1 ;
    
    public static int RECENT_ARTICLE_MAX_RESULT = 5;
    
    
    public static String OBJECT_JSON ="objectJson";
    
    public static int SEARCH_PAGE_SIZE = 10;
    
    
    
    public static List<String> ImageTypesList = Arrays.asList(new String[]{"jpg","jpeg","gif","png","ico"});
    
    /**
     * dir name which save upload file that is a image ;
     */
    public static String ImageFileDir = "images";
    
    
    /**
     * dir name which save upload files except image ;
     */
    public static String OtherFileDir = "other";
    
    
    /**
     * dir name which save upload files  ;
     */
    public static String UploadFileRootDir = "userFiles";
    
    
    public static int PHOTO_PAGE_SIZE = 10;
    
    
    public static int NON_PHOTO_FILE_PAGE_SIZE = 10;
    
    
    public static String FILE_SYS_SPILIT ="_";
    
    public static String GMAIL_HOST = "smtp.gmail.com";
    
    
    public static String MY_EMAIL_USERNAME = "honglangqq@gmail.com";
    
    public static String MY_EMAIL_PASSWORD = "76962651985";
    
    
    public static String FORGET_PASSWORD_MAIL_Conent_PRE = "好吧,看来你记不起你的密码了,我只好让Gmail辛苦跑一趟了,这是你的当前密码:";
    
    public static String FORGET_PASSWORD_MAIL_SUBJECT = "你的账号密码,请查收(www.honglangqq.com)";
    
    
}
